package com.mapforge.listener;

import java.util.Iterator;
import java.util.Set;

import com.mapforge.map.TileLayer;

public class TileLayerDeletionEvent extends BasicEvent {
	private Set<TileLayer> deletedLayer;

	public TileLayerDeletionEvent(Object src, Set<TileLayer> deletedLayer) {
		super(src);
		this.deletedLayer = deletedLayer;
	}

	public Iterator<TileLayer> getDeletedLayerIterator() {
		return this.deletedLayer.iterator();
	}
}
